<include file="Public/header"/>
<div class="wrapper m-t">
    <form class="ibox float-e-margins" id="formvalidate">
        <div class="ibox-title">
            <a class="h5 font-bold text-success">
                <i class="glyphicon glyphicon-list-alt"></i> 订单信息
            </a>
        </div>
        <div class="ibox-content">
            <div class="col-lg-2">
                <label class="control-label">订单编号：</label>
                <span>{$re.order_number}</span>
            </div>
            <div class="col-lg-3">
                <label class="control-label">经销商：</label>
                <span>{$re.company_name}</span>
            </div>

            <div class="col-lg-3">
                <label class="control-label">客户名称：</label>
                <span>{$re.username}</span>
            </div>

            <div class="col-lg-2">
                <label class="control-label">订货日期：</label>
                <span>{$re.order_time|date='Y-m-d',###}</span>
            </div>
            <div class="col-lg-2">
                <label class="control-label">确定日期：</label>
                <span>{$re.confirmtime}</span>
            </div>
            <div class="clearfix"></div>
        </div>
        <div class="ibox-title">
            <a class="h5 font-bold text-success">
                <i class="glyphicon glyphicon-edit"></i> 产品信息
            </a>
        </div>

        <div class="ibox-content">

          <volist name="parr" id="vo" key="k">

            <div class="panel panel-info">
                <div class="panel-heading">产品--{$k}</div>
                <div class="panel-body">
                    <div class="col-lg-2">
                        <label class="control-label">产品名称：</label>
                        <span>{$vo.productname}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">门洞尺寸：</label>
                        <span>{$vo.dooropeningsize}</span>
                    </div>

                    <div class="col-lg-2">
                        <label class="control-label">门扇规格：</label>
                        <span>{$vo.verticalplate}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">立板规格：</label>
                        <span>{$vo.cropupstandard}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">帽头规格：</label>
                        <span>{$vo.cropupstandard}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">工艺技术：</label>
                        <span>{$vo.craft_name}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">数量：</label>
                        <span>{$vo.numbers}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">颜色：</label>
                        <span>{$vo.color}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">线条型号：</label>
                        <span>{$vo.linetype}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">线条数量：</label>
                        <span>{$vo.wirenumber}</span>
                    </div>

                    <div class="col-lg-2">
                        <label class="control-label">单价：</label>
                        <span>{$vo.price}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">折扣：</label>
                        <span>{$vo.discount}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">总价：</label>
                        <span>{$vo.totalprice}</span>
                    </div>
                    <div class="col-lg-2">
                        <label class="control-label">备注：</label>
                        <span>{$vo.remark}</span>
                    </div>
                </div>

            </div>
          </volist>



            <div class="clearfix"></div>
        </div>
        <div class="ibox-title">
            <a class="h5 font-bold text-success">
                <i class="glyphicon glyphicon-wrench"></i> 工序信息
            </a>
        </div>

        <div class="ibox-content">
            <!--工序信息start-->
            <volist name="garr" id="vs" key="k">
            <div class="panel panel-info p-xs">
                <div class="col-lg-2">
                    <label class="control-label">
                        <span class="text-info"><i class="glyphicon glyphicon-tag"></i></span>工序{$k}：
                    </label>
                    <span>{$vs.processname}</span>
                </div>
                <div class="col-lg-2">
                    <label class="control-label">工价：</label>
                    <span>{$vs.labourcost}</span>
                </div>

                <div class="col-lg-2">
                    <label class="control-label">操作工：</label>
                    <span>{$vs.constructionworker}</span>
                </div>

                <div class="col-lg-3">
                    <label class="control-label">计划完成时间：</label>
                    <span>{$vs.requiretime}</span>
                </div>
                <div class="col-lg-3">
                    <label class="control-label">实际完成时间：</label>
                    <span>{$vs.completetime}</span>
                </div>

                <div class="clearfix"></div>
            </div>
            </volist>
            <!--工艺信息end-->

        </div>



        <div class="ibox-title">
            <a class="h5 font-bold text-success">
                <i class="glyphicon glyphicon-yen"></i> 货款信息
            </a>
        </div>
        <div class="ibox-content">
            <div class="gongyibox">
                <div class="col-lg-2">
                    <label class="control-label">总款：</label>
                    <span>{$re.order_price}</span>
                </div>
                <div class="col-lg-2">
                    <label class="control-label">定金：</label>
                    <span>{$re.downpayment}</span>
                </div>
                <div class="col-lg-2">
                    <label class="control-label">余款：</label>
                    <span>{$re.sparemoney}</span>
                </div>
                <div class="col-lg-2">
                    <label class="control-label">财务：</label>
                    <span>{$re.finance}</span>
                </div>
                <div class="col-lg-2">
                    <label class="control-label">制单人：</label>
                    <span>{$re.eecupeople}</span>
                </div>

                <div class="col-lg-2">
                    <label class="control-label">审单人：</label>
                    <span>{$re.auditpeople}</span>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="ibox-title">
            <a class="h5 font-bold text-success">
                <i class="glyphicon glyphicon-flag"></i> 其他
            </a>
        </div>
        <div class="ibox-content">
            <div class="col-lg-6">
                <label class="control-label">备注：</label>
                <span>{$re.orderremark}</span>
            </div>

            <div class="clearfix"></div>


            <div class="form-group m-t-lg">
                <a target="_blank" href="{:U('Orders/printInfo?rid='.$vo['rid'])}"><input type="button" class="btn btn-info col-lg-1 col-lg-push-5 m-r" value="打印预览"/></a>
                <input type="button" onclick="javascript:history.back(-1);return false;" class="btn btn-primary col-lg-1 col-lg-push-5" value="返回"/>
                <div class="clearfix"></div>
            </div>
        </div>


    </form>
</div>
<include file="Public/footer"/>